using UnityEngine;

public class FailChecker : MonoBehaviour
{
   
    private void OnTriggerEnter(Collider other)
    {
        var player = other.GetComponent<Player>();
        if (player)
        {
            player.ReceiveDeadlyDamage();
        }
        
    }

}